<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: fsm_pdo.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fsm__pdo_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fsm_pdo.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT PDO configuration state machine.  
<a href="#details">More...</a></p>

<p><a href="fsm__pdo_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3400d841b7b7dc298c0d2698a910d063"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a3400d841b7b7dc298c0d2698a910d063">ec_fsm_pdo_read_state_start</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a3400d841b7b7dc298c0d2698a910d063"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start reading PDO assignment.  <a href="#a3400d841b7b7dc298c0d2698a910d063">More...</a><br /></td></tr>
<tr class="separator:a3400d841b7b7dc298c0d2698a910d063"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bc12f676c54517fbedcc0d1dfd1641e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a2bc12f676c54517fbedcc0d1dfd1641e">ec_fsm_pdo_read_state_pdo_count</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a2bc12f676c54517fbedcc0d1dfd1641e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count assigned PDOs.  <a href="#a2bc12f676c54517fbedcc0d1dfd1641e">More...</a><br /></td></tr>
<tr class="separator:a2bc12f676c54517fbedcc0d1dfd1641e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d1b9fe3c9f3e7885347faaf09bcf1e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a3d1b9fe3c9f3e7885347faaf09bcf1e1">ec_fsm_pdo_read_state_pdo</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a3d1b9fe3c9f3e7885347faaf09bcf1e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch PDO information.  <a href="#a3d1b9fe3c9f3e7885347faaf09bcf1e1">More...</a><br /></td></tr>
<tr class="separator:a3d1b9fe3c9f3e7885347faaf09bcf1e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6676f274857f9bd450f5f74053d79eff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a6676f274857f9bd450f5f74053d79eff">ec_fsm_pdo_read_state_pdo_entries</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a6676f274857f9bd450f5f74053d79eff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch PDO information.  <a href="#a6676f274857f9bd450f5f74053d79eff">More...</a><br /></td></tr>
<tr class="separator:a6676f274857f9bd450f5f74053d79eff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57102882d5e4eb7eee83ff7cc6bd0c50"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a57102882d5e4eb7eee83ff7cc6bd0c50">ec_fsm_pdo_read_action_next_sync</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a57102882d5e4eb7eee83ff7cc6bd0c50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read PDO assignment of next sync manager.  <a href="#a57102882d5e4eb7eee83ff7cc6bd0c50">More...</a><br /></td></tr>
<tr class="separator:a57102882d5e4eb7eee83ff7cc6bd0c50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42248b22b855e24ed26eda0062138c37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a42248b22b855e24ed26eda0062138c37">ec_fsm_pdo_read_action_next_pdo</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a42248b22b855e24ed26eda0062138c37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read next PDO.  <a href="#a42248b22b855e24ed26eda0062138c37">More...</a><br /></td></tr>
<tr class="separator:a42248b22b855e24ed26eda0062138c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae431cbfd699fdf7e875a347a771adc2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#ae431cbfd699fdf7e875a347a771adc2a">ec_fsm_pdo_conf_state_start</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:ae431cbfd699fdf7e875a347a771adc2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start PDO configuration.  <a href="#ae431cbfd699fdf7e875a347a771adc2a">More...</a><br /></td></tr>
<tr class="separator:ae431cbfd699fdf7e875a347a771adc2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86d7941eeb21995e622dc8fc910107c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a86d7941eeb21995e622dc8fc910107c4">ec_fsm_pdo_conf_state_read_mapping</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a86d7941eeb21995e622dc8fc910107c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the PDO entry state machine to read the current PDO's mapping.  <a href="#a86d7941eeb21995e622dc8fc910107c4">More...</a><br /></td></tr>
<tr class="separator:a86d7941eeb21995e622dc8fc910107c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6de72a51b22c6d2aa98f0aa1f23a30bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a6de72a51b22c6d2aa98f0aa1f23a30bc">ec_fsm_pdo_conf_state_mapping</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a6de72a51b22c6d2aa98f0aa1f23a30bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Let the PDO entry state machine configure the current PDO's mapping.  <a href="#a6de72a51b22c6d2aa98f0aa1f23a30bc">More...</a><br /></td></tr>
<tr class="separator:a6de72a51b22c6d2aa98f0aa1f23a30bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61d6727b2003591ecc4d493312321028"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a61d6727b2003591ecc4d493312321028">ec_fsm_pdo_conf_state_zero_pdo_count</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a61d6727b2003591ecc4d493312321028"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of assigned PDOs to zero.  <a href="#a61d6727b2003591ecc4d493312321028">More...</a><br /></td></tr>
<tr class="separator:a61d6727b2003591ecc4d493312321028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a09b501ea734575d8761766f7a2c798"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a9a09b501ea734575d8761766f7a2c798">ec_fsm_pdo_conf_state_assign_pdo</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a9a09b501ea734575d8761766f7a2c798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a PDO to the sync managers PDO assignment.  <a href="#a9a09b501ea734575d8761766f7a2c798">More...</a><br /></td></tr>
<tr class="separator:a9a09b501ea734575d8761766f7a2c798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a9154e743c691ee85355e155ae0f8ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a9a9154e743c691ee85355e155ae0f8ff">ec_fsm_pdo_conf_state_set_pdo_count</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a9a9154e743c691ee85355e155ae0f8ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of assigned PDOs.  <a href="#a9a9154e743c691ee85355e155ae0f8ff">More...</a><br /></td></tr>
<tr class="separator:a9a9154e743c691ee85355e155ae0f8ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33e63b8e6243d3c5c2fa6913c7606a10"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a33e63b8e6243d3c5c2fa6913c7606a10">ec_fsm_pdo_conf_action_next_sync</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a33e63b8e6243d3c5c2fa6913c7606a10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next sync manager for a pdo configuration.  <a href="#a33e63b8e6243d3c5c2fa6913c7606a10">More...</a><br /></td></tr>
<tr class="separator:a33e63b8e6243d3c5c2fa6913c7606a10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9500b76d61e46b2e6906d21d93eb42b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a9500b76d61e46b2e6906d21d93eb42b0">ec_fsm_pdo_conf_action_pdo_mapping</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a9500b76d61e46b2e6906d21d93eb42b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the mapping has to be read, otherwise start to configure it.  <a href="#a9500b76d61e46b2e6906d21d93eb42b0">More...</a><br /></td></tr>
<tr class="separator:a9500b76d61e46b2e6906d21d93eb42b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf6b32f9717d783f066feb2268317387"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#adf6b32f9717d783f066feb2268317387">ec_fsm_pdo_conf_action_check_mapping</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:adf6b32f9717d783f066feb2268317387"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the mapping has to be re-configured.  <a href="#adf6b32f9717d783f066feb2268317387">More...</a><br /></td></tr>
<tr class="separator:adf6b32f9717d783f066feb2268317387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0e2b8e960f8251fd995942684816dfe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#ac0e2b8e960f8251fd995942684816dfe">ec_fsm_pdo_conf_action_next_pdo_mapping</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:ac0e2b8e960f8251fd995942684816dfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check mapping of next PDO, otherwise configure assignment.  <a href="#ac0e2b8e960f8251fd995942684816dfe">More...</a><br /></td></tr>
<tr class="separator:ac0e2b8e960f8251fd995942684816dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9669ea3ae334cee2b0a76bfa3b540767"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a9669ea3ae334cee2b0a76bfa3b540767">ec_fsm_pdo_conf_action_check_assignment</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a9669ea3ae334cee2b0a76bfa3b540767"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the PDO assignment of the current SM has to be re-configured.  <a href="#a9669ea3ae334cee2b0a76bfa3b540767">More...</a><br /></td></tr>
<tr class="separator:a9669ea3ae334cee2b0a76bfa3b540767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a935c62948338bf55beef8ea894d869a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a935c62948338bf55beef8ea894d869a1">ec_fsm_pdo_conf_action_assign_pdo</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a935c62948338bf55beef8ea894d869a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a PDO.  <a href="#a935c62948338bf55beef8ea894d869a1">More...</a><br /></td></tr>
<tr class="separator:a935c62948338bf55beef8ea894d869a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9827b177904c14f4c5ca497233970fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#aa9827b177904c14f4c5ca497233970fd">ec_fsm_pdo_state_end</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:aa9827b177904c14f4c5ca497233970fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">State: END.  <a href="#aa9827b177904c14f4c5ca497233970fd">More...</a><br /></td></tr>
<tr class="separator:aa9827b177904c14f4c5ca497233970fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2829ebc2c4e0c0573855457555617be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#ab2829ebc2c4e0c0573855457555617be">ec_fsm_pdo_state_error</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:ab2829ebc2c4e0c0573855457555617be"><td class="mdescLeft">&#160;</td><td class="mdescRight">State: ERROR.  <a href="#ab2829ebc2c4e0c0573855457555617be">More...</a><br /></td></tr>
<tr class="separator:ab2829ebc2c4e0c0573855457555617be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0785235fca5314b2d528ff3cb38ffc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#ac0785235fca5314b2d528ff3cb38ffc3">ec_fsm_pdo_init</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="fsm__coe_8h.html#a734dfc127f55aed3a16529febddd1771">ec_fsm_coe_t</a> *fsm_coe)</td></tr>
<tr class="memdesc:ac0785235fca5314b2d528ff3cb38ffc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#ac0785235fca5314b2d528ff3cb38ffc3">More...</a><br /></td></tr>
<tr class="separator:ac0785235fca5314b2d528ff3cb38ffc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a834bb1087c6c89bcebeabd961677a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a2a834bb1087c6c89bcebeabd961677a3">ec_fsm_pdo_clear</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm)</td></tr>
<tr class="memdesc:a2a834bb1087c6c89bcebeabd961677a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a2a834bb1087c6c89bcebeabd961677a3">More...</a><br /></td></tr>
<tr class="separator:a2a834bb1087c6c89bcebeabd961677a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab82b16e9e90a718617989b1046a825da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#ab82b16e9e90a718617989b1046a825da">ec_fsm_pdo_print</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm)</td></tr>
<tr class="memdesc:ab82b16e9e90a718617989b1046a825da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print the current and desired PDO assignment.  <a href="#ab82b16e9e90a718617989b1046a825da">More...</a><br /></td></tr>
<tr class="separator:ab82b16e9e90a718617989b1046a825da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38161765844e834ee5c0ed6aeca8321f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a38161765844e834ee5c0ed6aeca8321f">ec_fsm_pdo_start_reading</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *slave)</td></tr>
<tr class="memdesc:a38161765844e834ee5c0ed6aeca8321f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start reading the PDO configuration.  <a href="#a38161765844e834ee5c0ed6aeca8321f">More...</a><br /></td></tr>
<tr class="separator:a38161765844e834ee5c0ed6aeca8321f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45673c0ffcb4f251696b30fc86288253"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a45673c0ffcb4f251696b30fc86288253">ec_fsm_pdo_start_configuration</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *slave)</td></tr>
<tr class="memdesc:a45673c0ffcb4f251696b30fc86288253"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start writing the PDO configuration.  <a href="#a45673c0ffcb4f251696b30fc86288253">More...</a><br /></td></tr>
<tr class="separator:a45673c0ffcb4f251696b30fc86288253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88ff25e3668c0fa820a93d2e607e0a33"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a88ff25e3668c0fa820a93d2e607e0a33">ec_fsm_pdo_running</a> (const <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm)</td></tr>
<tr class="memdesc:a88ff25e3668c0fa820a93d2e607e0a33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get running state.  <a href="#a88ff25e3668c0fa820a93d2e607e0a33">More...</a><br /></td></tr>
<tr class="separator:a88ff25e3668c0fa820a93d2e607e0a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad90d47e84f43b419017a9db1fc75c4cf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#ad90d47e84f43b419017a9db1fc75c4cf">ec_fsm_pdo_exec</a> (<a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:ad90d47e84f43b419017a9db1fc75c4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the current state of the state machine.  <a href="#ad90d47e84f43b419017a9db1fc75c4cf">More...</a><br /></td></tr>
<tr class="separator:ad90d47e84f43b419017a9db1fc75c4cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeb03e520938d50c3adb3b15b8a7801c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#adeb03e520938d50c3adb3b15b8a7801c">ec_fsm_pdo_success</a> (const <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm)</td></tr>
<tr class="memdesc:adeb03e520938d50c3adb3b15b8a7801c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get execution result.  <a href="#adeb03e520938d50c3adb3b15b8a7801c">More...</a><br /></td></tr>
<tr class="separator:adeb03e520938d50c3adb3b15b8a7801c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70621bc4964ac8f972294656425216e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__pdo_8c.html#a70621bc4964ac8f972294656425216e7">ec_fsm_pdo_conf_action_next_pdo</a> (const <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *fsm, const struct list_head *list)</td></tr>
<tr class="memdesc:a70621bc4964ac8f972294656425216e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign next PDO.  <a href="#a70621bc4964ac8f972294656425216e7">More...</a><br /></td></tr>
<tr class="separator:a70621bc4964ac8f972294656425216e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT PDO configuration state machine. </p>

<p class="definition">Definition in file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a3400d841b7b7dc298c0d2698a910d063"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3400d841b7b7dc298c0d2698a910d063">&#9670;&nbsp;</a></span>ec_fsm_pdo_read_state_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_read_state_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start reading PDO assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00193">193</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a2bc12f676c54517fbedcc0d1dfd1641e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bc12f676c54517fbedcc0d1dfd1641e">&#9670;&nbsp;</a></span>ec_fsm_pdo_read_state_pdo_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_read_state_pdo_count </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Count assigned PDOs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00243">243</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a3d1b9fe3c9f3e7885347faaf09bcf1e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d1b9fe3c9f3e7885347faaf09bcf1e1">&#9670;&nbsp;</a></span>ec_fsm_pdo_read_state_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_read_state_pdo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fetch PDO information. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00307">307</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a6676f274857f9bd450f5f74053d79eff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6676f274857f9bd450f5f74053d79eff">&#9670;&nbsp;</a></span>ec_fsm_pdo_read_state_pdo_entries()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_read_state_pdo_entries </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fetch PDO information. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00356">356</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a57102882d5e4eb7eee83ff7cc6bd0c50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57102882d5e4eb7eee83ff7cc6bd0c50">&#9670;&nbsp;</a></span>ec_fsm_pdo_read_action_next_sync()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_read_action_next_sync </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read PDO assignment of next sync manager. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00207">207</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a42248b22b855e24ed26eda0062138c37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42248b22b855e24ed26eda0062138c37">&#9670;&nbsp;</a></span>ec_fsm_pdo_read_action_next_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_read_action_next_pdo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read next PDO. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00279">279</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="ae431cbfd699fdf7e875a347a771adc2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae431cbfd699fdf7e875a347a771adc2a">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_state_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_state_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start PDO configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00383">383</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a86d7941eeb21995e622dc8fc910107c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86d7941eeb21995e622dc8fc910107c4">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_state_read_mapping()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_state_read_mapping </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Execute the PDO entry state machine to read the current PDO's mapping. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00502">502</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a6de72a51b22c6d2aa98f0aa1f23a30bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6de72a51b22c6d2aa98f0aa1f23a30bc">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_state_mapping()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_state_mapping </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Let the PDO entry state machine configure the current PDO's mapping. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00561">561</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a61d6727b2003591ecc4d493312321028"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61d6727b2003591ecc4d493312321028">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_state_zero_pdo_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_state_zero_pdo_count </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the number of assigned PDOs to zero. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00648">648</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a9a09b501ea734575d8761766f7a2c798"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a09b501ea734575d8761766f7a2c798">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_state_assign_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_state_assign_pdo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a PDO to the sync managers PDO assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00710">710</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a9a9154e743c691ee85355e155ae0f8ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a9154e743c691ee85355e155ae0f8ff">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_state_set_pdo_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_state_set_pdo_count </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the number of assigned PDOs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00755">755</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a33e63b8e6243d3c5c2fa6913c7606a10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33e63b8e6243d3c5c2fa6913c7606a10">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_next_sync()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_action_next_sync </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the next sync manager for a pdo configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00418">418</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a9500b76d61e46b2e6906d21d93eb42b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9500b76d61e46b2e6906d21d93eb42b0">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_pdo_mapping()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_action_pdo_mapping </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the mapping has to be read, otherwise start to configure it. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00467">467</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="adf6b32f9717d783f066feb2268317387"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf6b32f9717d783f066feb2268317387">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_check_mapping()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_action_check_mapping </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the mapping has to be re-configured. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000017">Todo:</a></b></dt><dd>Display mapping differences. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00526">526</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="ac0e2b8e960f8251fd995942684816dfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0e2b8e960f8251fd995942684816dfe">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_next_pdo_mapping()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_action_next_pdo_mapping </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check mapping of next PDO, otherwise configure assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00582">582</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a9669ea3ae334cee2b0a76bfa3b540767"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9669ea3ae334cee2b0a76bfa3b540767">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_check_assignment()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_action_check_assignment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the PDO assignment of the current SM has to be re-configured. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00601">601</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a935c62948338bf55beef8ea894d869a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a935c62948338bf55beef8ea894d869a1">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_assign_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_conf_action_assign_pdo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assign a PDO. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00687">687</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="aa9827b177904c14f4c5ca497233970fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9827b177904c14f4c5ca497233970fd">&#9670;&nbsp;</a></span>ec_fsm_pdo_state_end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_state_end </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>State: END. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00799">799</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="ab2829ebc2c4e0c0573855457555617be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2829ebc2c4e0c0573855457555617be">&#9670;&nbsp;</a></span>ec_fsm_pdo_state_error()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_state_error </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>State: ERROR. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00788">788</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="ac0785235fca5314b2d528ff3cb38ffc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0785235fca5314b2d528ff3cb38ffc3">&#9670;&nbsp;</a></span>ec_fsm_pdo_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="fsm__coe_8h.html#a734dfc127f55aed3a16529febddd1771">ec_fsm_coe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm_coe</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
    <tr><td class="paramname">fsm_coe</td><td>CoE state machine to use </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00074">74</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a2a834bb1087c6c89bcebeabd961677a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a834bb1087c6c89bcebeabd961677a3">&#9670;&nbsp;</a></span>ec_fsm_pdo_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00090">90</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="ab82b16e9e90a718617989b1046a825da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab82b16e9e90a718617989b1046a825da">&#9670;&nbsp;</a></span>ec_fsm_pdo_print()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_print </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Print the current and desired PDO assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00104">104</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a38161765844e834ee5c0ed6aeca8321f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38161765844e834ee5c0ed6aeca8321f">&#9670;&nbsp;</a></span>ec_fsm_pdo_start_reading()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_start_reading </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td>
          <td class="paramname"><em>slave</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start reading the PDO configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
    <tr><td class="paramname">slave</td><td>slave to configure </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00119">119</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a45673c0ffcb4f251696b30fc86288253"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45673c0ffcb4f251696b30fc86288253">&#9670;&nbsp;</a></span>ec_fsm_pdo_start_configuration()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_pdo_start_configuration </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td>
          <td class="paramname"><em>slave</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start writing the PDO configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
    <tr><td class="paramname">slave</td><td>slave to configure </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00132">132</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a88ff25e3668c0fa820a93d2e607e0a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88ff25e3668c0fa820a93d2e607e0a33">&#9670;&nbsp;</a></span>ec_fsm_pdo_running()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_pdo_running </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get running state. </p>
<dl class="section return"><dt>Returns</dt><dd>false, if state machine has terminated </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00147">147</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="ad90d47e84f43b419017a9db1fc75c4cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad90d47e84f43b419017a9db1fc75c4cf">&#9670;&nbsp;</a></span>ec_fsm_pdo_exec()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_pdo_exec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Executes the current state of the state machine. </p>
<p>If the state machine's datagram is not sent or received yet, the execution of the state machine is delayed to the next cycle.</p>
<dl class="section return"><dt>Returns</dt><dd>false, if state machine has terminated </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00164">164</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="adeb03e520938d50c3adb3b15b8a7801c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeb03e520938d50c3adb3b15b8a7801c">&#9670;&nbsp;</a></span>ec_fsm_pdo_success()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_pdo_success </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get execution result. </p>
<dl class="section return"><dt>Returns</dt><dd>true, if the state machine terminated gracefully </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00180">180</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
<a id="a70621bc4964ac8f972294656425216e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70621bc4964ac8f972294656425216e7">&#9670;&nbsp;</a></span>ec_fsm_pdo_conf_action_next_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structec__pdo__t.html">ec_pdo_t</a>* ec_fsm_pdo_conf_action_next_pdo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="fsm__pdo_8h.html#ac13e2c6bdf50dbba47d2165f173322cd">ec_fsm_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct list_head *&#160;</td>
          <td class="paramname"><em>list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assign next PDO. </p>
<dl class="section return"><dt>Returns</dt><dd>Next PDO, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>PDO configuration state machine. </td></tr>
    <tr><td class="paramname">list</td><td>current PDO list item </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fsm__pdo_8c_source.html#l00403">403</a> of file <a class="el" href="fsm__pdo_8c_source.html">fsm_pdo.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="fsm__pdo_8c.html">fsm_pdo.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
